package Java9_11;

import java.util.Calendar;

public class Work4 {
    public static void main(String[] args) {
        Calendar calendar=Calendar.getInstance();
        long i=calendar.getTime().getTime();
        calendar.set(2012,12,21);
        long x=calendar.getTime().getTime();
        long a=(i-x)/(1000*3600*24);
        System.out.println("距离世界末日已经过去"+a);
    }
}
